Page({
  data: {
    height: '',
    avatar: '',
    name: '',
    number: '',
    phone: ''
  },
  onLoad() {
    this.getUserList()
    this.getMissionData()
  },
  async getUserList() {
    const res = await wx.$request.get('/driver/users')
    console.log(res)
    this.setData({ ...res })
  },
  async getMissionData() {
    const res = await wx.$request.get('/driver/users/taskReport', { year: '2023', month: '05'})
    console.log(res)
    this.setData({ ...res })
  }
})